package ntd.util.modular.msg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import ntd.util.config.common.enums.EnumPlatformType;
import ntd.util.config.common.entity.BaseEntityMybatis;
import com.c.Constant;



@EqualsAndHashCode(callSuper = true)
@TableName("message_sms_template")
@Data

@Schema(description = "统一消息中心 - 短信模板")
public class SmsTemplate extends BaseEntityMybatis<SmsTemplate> {

    @Schema(description = "三方-模板id")
    private String tempId;
    @Schema(description = "模板内容")
    private String template;
    @Schema(description = "模板类型 1为验证码类，2为通知类，3为营销类")
    private String type;
    @Schema(description = "状态 0: 审核中, 1: 可用，2: 禁用")
    private Integer state = Constant.ZERO;
    @Schema(description = "渠道商类型")
    private EnumPlatformType channelType;
    @Schema(description = "渠道商id")
    private String channelBusinessId;
    @Schema(description = "验证码有效期")
    private String ttl;
    @Schema(description = "备注")
    private String remark;

}
